from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^qq/login/$', views.OAuthQQLoginView.as_view()),
    url(r'^oauth_callback/$', views.OAuthUserView.as_view()),
    url(r'^sina/login/$', views.WeiboLoginView.as_view()),
    url(r'^sina_callback/$', views.WeiboUserFormView.as_view()),
    # url(r'^oauth/sina/user/$', views.WeiboUserRegView.as_view()),
    url(r'^sina/user/$', views.WeiboUserView.as_view()),
]